
export function getRedirectPath({type,photo}){


	let url;

	if(type==='genius'){

		url = '/user'
	}else if(type==='boss'){

		url = '/boss'
	}

	if(!photo){

		url += 'info'
	}

	return url 
}